package com.exam.service.impl;

import java.util.List;

import com.exam.bean.Paper;
import com.exam.dao.PaperDao;
import com.exam.dao.impl.PaperDaoImpl;
import com.exam.proxy.DynamicProxyUtil;
import com.exam.service.PaperService;
import com.exam.util.Page;
import com.exam.util.PageResult;

public class PaperServiceImpl implements PaperService {

	private PaperDao dao = null;

	public PaperServiceImpl() {
		dao = (PaperDao) new DynamicProxyUtil().bindProxy(new PaperDaoImpl());
	}

	public boolean add(Paper obj) throws Exception {
		return dao.add(obj);
	}

	public boolean delete(Integer id) throws Exception {
		// TODO Auto-generated method stub
		return false;
	}

	public boolean delete(List<Integer> idList) throws Exception {
		// TODO Auto-generated method stub
		return false;
	}

	public boolean delete(String strWhere) throws Exception {
		// TODO Auto-generated method stub
		return false;
	}

	public int findCount(String strWhere) throws Exception {
		// TODO Auto-generated method stub
		return 0;
	}

	public List<Paper> findList(String strWhere) throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	public PageResult findListByPage(Page page) throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	public PageResult findListByPage(String strWhere, Page page)
			throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	public Paper findModel(Integer id) throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	public boolean update(Paper obj) throws Exception {
		// TODO Auto-generated method stub
		return false;
	}

	public boolean update(List<Paper> objList) throws Exception {
		// TODO Auto-generated method stub
		return false;
	}

}
